<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>id选择器</title>
		<style  type="text/css">
			#div1{
				background-color: #FFE4E1;
				width: 50px;
				height: 50px;
				}
				#div2{
					background-color:deeppink;
					width: 50px;
					height: 50px;
					}
				.divp{
						background-color: green;
						width: 50px;
						height: 50px;
						}
		</style>
	</head>
	<body>
		<div class="divp"></div>
		<div id="div1"></div>
		<div id="div2"></div>
	</body>
</html>
